package sennetworkserver;

public class Lane {
	
	private TrafficLight trafficLight;
	private int laneId;
	private Sensor sensor100m;
	private Sensor sensor1m;
	
	public Lane(int laneId) {
		this.laneId = laneId;
		trafficLight = new TrafficLight(laneId);
		sensor100m = new Sensor(laneId);
		sensor1m = new Sensor(laneId);
	}
	
	public TrafficLight getTrafficLight() { return trafficLight; }
	public Sensor getSensor100m() { return sensor100m; }
	public Sensor getSensor1m() { return sensor1m; }
	public int getLaneId() { return laneId; }

}
